/*
 * Employee.java
 *
 * This class is a base class that contains an instance variable to store
 * the name of the employee and a method to display the same.
 *
 * 
 */

package com.javacore.day6.maxsoft2;

/**
 * Employee class acts as the base class for other classes.
 * @author 
 */
public class Employee {
    
    /** Creates a new instance of Employee */
    public Employee() {
        
        name = "";
    }
    
    /**
     * Method to display the name of the employee.
     */
    void displayDetails() {
        System.out.printf("\nEmployee Name: %s",name);
    }
    
    /**
     * Instance variable to store the employee's name.
     */
    String name;
    
}
